<?php
namespace User\Controller;
//地址
use Common\Controller\MemberbaseController;
use Common\ModelSQ\CommMSQ;

class AddressController extends MemberbaseController {

    public function _initialize() {
        parent::_initialize();
    }

    public function index(){
        $msq = new CommMSQ();
        $list = $msq->getAddress(cookie('user_name'),1);
//        echo "<pre>";print_r($list['data']);die;
        $this->assign('list',$list);
        $this->display();
    }

    public function add(){
        $this->display();
    }


}


